package com.css.fxfzaqbz.modules.assess.service;

import com.css.fxfzaqbz.base.upload.entity.AttachmentInfoEntity;
import com.css.fxfzaqbz.modules.assess.entity.CasAndUrgen;
import com.css.fxfzaqbz.modules.assess.entity.CasualtiesEntity;
import com.css.fxfzaqbz.modules.assess.entity.DisasterAssEntity;
import com.css.fxfzaqbz.modules.assess.vo.CasVo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author y1fan
 * @create 2022-09-13 14:52
 */
public interface CasualtiesService {


    CasualtiesEntity saveCasualties(CasualtiesEntity casualtiesEntity);

    List<CasualtiesEntity> getAllCasualties(String id);

    CasualtiesEntity getCasualtiesById(String id);

    void deleteCasualties(String id);

    CasualtiesEntity getCasualtiesByType(CasualtiesEntity casualtiesEntity);

    CasualtiesEntity updateCasualties(CasualtiesEntity casualtiesEntity, String scId);

    CasualtiesEntity updateCasualtiesById(CasualtiesEntity casualtiesEntity);

    List<CasualtiesEntity> getAllCasualtiesTwo(String id);

    void firstSubmitCasualties(String id);

    Boolean casualtiesIfRepetition(CasualtiesEntity casualtiesEntity);

    void addCasualtiesDisaster(List<String> ids, String describe);

    void removeCasualtiesDisaster(String id);

    void secondSubmitCasualties(List<String> ids);


    List<CasualtiesEntity> getCasByIaIdAndType(String iaId, String rkfbt);

    List<CasAndUrgen> getAll(CasVo vo);

    void submit(CasVo vo);

    AttachmentInfoEntity getPath(CasVo vo);

    void delete(CasVo vo);

    void remove(CasVo vo);
}
